            
//改變ListBox中Option的順序(往上移動)
function GSSswapNodeUp(vstrID){
	var objListBox=document.getElementById(vstrID);
	var intIndex = objListBox.selectedIndex;
	if (intIndex>=1){
		objListBox.children(intIndex).swapNode(objListBox.children(intIndex-1));
	}
}

function GSSswapNodeDown(vstrID){
	var objListBox=document.getElementById(vstrID);
	var intIndex = objListBox.selectedIndex;
	if ((intIndex >-1 ) && (intIndex < objListBox.length-1)) {
		objListBox.children(intIndex).swapNode(objListBox.children(intIndex+1));
	}
}